/*
 * @Author: your name
 * @Date: 2021-10-12 14:37:48
 * @LastEditTime: 2021-10-19 10:05:43
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /a1902-a-group/admin_pc/src/api/home.js
 */

// 所有的home 组件 相关的接口
import {postHttp, getHttp} from '../utils/http'
/**
 * @description: 这个是登陆接口
 * @param {url}
 * @param {params}
 * @return {*}
 */
export const login = async (url, params) => {
    return await postHttp(url, params)
}

/**
 * @description: get请求 获取用户信息
 * @param {url}
 * @return {*}
 */
export const getUsers = async (url) => {
    return await getHttp(url)
}


export const getList = async (url) => {
    return await getHttp(url)
}